package com.qf.client;

import com.qf.pojo.BaseResp;
import org.springframework.stereotype.Component;

import java.util.Map;
@Component
public class UserClientFallback implements UserClient {
    @Override
    public BaseResp findUserByToId(Map map) {
        BaseResp baseResp = new BaseResp();
        baseResp.setCode(203);
        baseResp.setMessage("进入降级");
        return baseResp;
    }
}
